<?php
$this->load->view("header");
?>
<div id="main_content">
<div class="top_margin"></div>
<div class="homepage_mid_column">
<div class="book_charts">
<h2>还没注册？</h2>
<br>
<?php
$signupPage='user/signup?continue=yes&currentpage='.urlencode($currentPage);
echo anchor($signupPage, '注册');
?>
</div>
<div class="book_charts">
    <h2>登录</h2>
    <br>
    <form name="login_form" id="login_form" method="POST" action="<?=site_url()?>/user/login_check">
        <table>
        <tr><td colspan="4">用户名</td><td><input type="text" name="username"/></td></tr>
         <tr><td colspan="4">密码</td><td><input type="password" name="passwd"/></td></tr>
         <!--<tr><td colspan="4">记住我</td><td><input type="checkbox" name="usecookie"  CHECKED/></td></tr>-->
         </table>
         <?php if($error=="yes") echo "<font color=\"#FF0000\">你输入的用户名或密码不正确。</font>"?>
         <input type="hidden" name="currentpage" value=<?=$currentPage?>/>
         <input type="hidden" name="continue" value=<?=$continue?>/>
         <br>
          <input type="submit" value="提交"/>
    </form>
</div>


</div>
<?php
$this->load->view("footer2");
?>
